package com.travelparadise.tests;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringContextForTest {
	private static ApplicationContext contextSpring = null;

	public static ApplicationContext getSpringContext() {
		if(contextSpring == null)
			contextSpring = new ClassPathXmlApplicationContext(new String[] { "SpringConf.xml" });
		return contextSpring;
	}
}
